<!doctype html>
<html>

<head>
  <title>Unsubscribe - Hopp</title>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <style>
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      margin: 0;
      padding: 40px;
      background: #f5f5f5;
    }

    .container {
      max-width: 500px;
      margin: 0 auto;
      background: white;
      padding: 40px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      text-align: center;
    }

    h1 {
      color: #333;
      margin-bottom: 20px;
    }

    p {
      color: #666;
      line-height: 1.6;
      margin-bottom: 30px;
    }

    .btn {
      background: #dc3545;
      color: white;
      padding: 12px 24px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 16px;
      text-decoration: none;
      display: inline-block;
    }

    .btn:hover {
      background: #c82333;
    }

    .email {
      font-weight: bold;
      color: #333;
    }
  </style>
</head>

<body>
<div class="container">
  <h1>Unsubscribe from Hopp Emails</h1>
  <p>Are you sure you want to unsubscribe <span class="email">{{.Email}}</span> from all Hopp emails?</p>
  <img src="https://dlh49gjxx49i3.cloudfront.net/emails/sponge-bob-patrick.gif" style="margin-bottom: 24px;border-radius: 6px" />

  <form method="POST" action="/api/unsubscribe/{{.Token}}">
    <button type="submit" class="btn">Unsubscribe</button>
  </form>
</div>
</body>

</html>